package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_ZH_FORM")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class ZhFormEntity {
	
	@TableId(value = "formid", type= IdType.AUTO)
	@ApiModelProperty(value="")
	private BigDecimal formid;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String formName;
	
	@TableField(value = "selfStaff")
	@ApiModelProperty(value="", hidden = true)
	@IgnoreSwaggerParameter
	private TblStaff selfStaff;
	
	@TableField(value = "otherStaff")
	@ApiModelProperty(value="", hidden = true)
	@IgnoreSwaggerParameter
	private TblStaff otherStaff;
	
	@TableField(value = "selfDate")
	@ApiModelProperty(value="")
	private Date selfDate;
	
	@TableField(value = "otherDate")
	@ApiModelProperty(value="")
	private Date otherDate;
	
	@TableField(value = "status")
	@ApiModelProperty(value="")
	private Integer status;
	
	@TableField(value = "formType")
	@ApiModelProperty(value="")
	private Integer formType;
	
	@TableField(value = "project")
	@ApiModelProperty(value="", hidden = true)
	@IgnoreSwaggerParameter
	private TblNbsjProject project;
	
//	public ZhFormEntity(BigDecimal formid, String formName, TblStaff selfStaff, TblStaff otherStaff, Date selfDate,
//			Date otherDate, Integer status, Integer formType, TblNbsjProject project) {
//		super();
//		this.formid = formid;
//		this.formName = formName;
//		this.selfStaff = selfStaff;
//		this.otherStaff = otherStaff;
//		this.selfDate = selfDate;
//		this.otherDate = otherDate;
//		this.status = status;
//		this.formType = formType;
//		this.project = project;
//	}

}
